import request from '@/utils/request'

// 获取转派分页数据
export function getTransferList(data) {
    return request({
        url: '/transfer/list',
        data,
        method: 'post'
    })
}
// 查看详情
export function getTransferdetail(id) {
    return request({
        url: `/transfer/${id}`
    })
}
// 通过岗位名称查询下方人员姓名
export function getUserBydeptName(params) {
    return request({
        url: '/dictionary/getUserBydeptName',
        params: { deptName: params }
    })
}
export function saveTransfer(data) {
    return request({
        url: '/transfer/save',
        data,
        method: 'post'
    })
}